package com.smart.redis.example.service.impl;

import com.smart.redis.example.service.UserService;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.data.redis.core.ValueOperations;
import org.springframework.stereotype.Service;
import org.springframework.web.client.RestTemplate;


import javax.annotation.Resource;

@Service
public class UserServiceImpl implements UserService {

    @Resource
    RedisTemplate<String, Object> redisTemplate;

    @Override
    public String save() {
        ValueOperations<String, Object> operations = redisTemplate.opsForValue();
        return null;
    }
}
